﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;
using UnityEditor;

namespace ProjScan.ScanRule.AssetReference
{
	// Token: 0x0200023E RID: 574
	[AssetsReferenceRuleAttr]
	internal class UnusedAsset : RecordRuleImp<ReferencedAssetData, ReferencedRecordManager>
	{
		// Token: 0x06000F8E RID: 3982 RVA: 0x00044B90 File Offset: 0x00042D90
		protected override bool IsOK(ReferencedAssetData assetData)
		{
			return assetData.AssetType == typeof(MonoScript) || assetData.AssetType == typeof(DefaultAsset) || assetData.AssetType == typeof(SceneAsset) || assetData.ReferenceList.Count >= 1;
		}
	}
}
